package scau.zzf.entity.authority;

import scau.zzf.base.common.Unique;

import javax.persistence.Table;

/**
 * Created by zzf on 2017/2/26.
 */
public class Role extends Unique{
    private String name;
    private String content;


    public static final long PLATFORM_ADMIN_ID = 1L;
    public static final String PLATFORM_ADMIN = "PLATFORM_ADMIN";

    public static final long ACCOUNT_ADMIN_ID = 2L;
    public static final String ACCOUNT_ADMIN = "ACCOUNT_ADMIN";

    public static final long AGENCY_ID = 3L;
    public static final String AGENCY = "AGENCY";


    public Role() {
    }

    public Role(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
